package com.stnet.service.enterprice.system;


import com.modules.commons.Pager;
import com.stnet.bases.BaseManagerDaoImpl;
import com.stnet.dao.enterprice.system.AuthOrderDao;
import com.stnet.entity.WxProjectOrder;

public class AuthOrderManagerDaoImpl extends BaseManagerDaoImpl implements AuthOrderManagerDao{
	
	private AuthOrderDao authOrderDao;
	
	

	public void setAuthOrderDao(AuthOrderDao authOrderDao) {
		this.authOrderDao = authOrderDao;
	}

	@Override
	public Pager findAuthOrderByPage(int pageSize, int pageNo) {
		return authOrderDao.findAuthOrderByPage(pageSize, pageNo);
	}

	@Override
	public WxProjectOrder getAuthOrder(Long id) {
		return authOrderDao.get(id);
	}

	@Override
	public void addAuthOrder(WxProjectOrder wxProjectOrder) {
		authOrderDao.save(wxProjectOrder);
	}

	@Override
	public void updateAuthOrder(WxProjectOrder wxProjectOrder) {
		authOrderDao.update(wxProjectOrder);
	}

	@Override
	public void deleteAuthOrder(Long id) {
		authOrderDao.delete(id);
	}

}
